package com.iflytek.sbd.demo.daili.dongtaidaili.jdk;

import com.iflytek.sbd.demo.daili.dongtaidaili.jdk.GoodByeInterface;

/**
 * @program: sbd
 * @description: 真实的实现类
 * @author: 陈英俊
 * @create: 2022-01-04 14:37
 */
public class GoodBye implements GoodByeInterface {

    @Override
    public String  sayGoodBye(String name) {
        System.out.println("真实的实现类执行了:"+name);
        return name;
    }

    @Override
    public String toString() {
        return "GoodBye{}";
    }
}
